package cn.wolfcode.trip.base.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;


//响应给前台的消息列表数据
@Setter
@Getter
@ToString
public class ChatListVO {
    private Long sendUserId;//发送人id

    private String nickName;//发送人昵称

    private String headImgUrl;//发送人头像

    private Integer unread;//未读消息数

    @JsonFormat(pattern = "HH:mm:ss",timezone = "GMT+8")
    private Date lastSendTime;//最后发送时间

    private String timeMsg;
}
